package ss;

import ss.Complex;

/**
 * Created by Administrator on 2016/4/13.
 */
public class test extends Complex{
    public static void main(String[] args)        //测试代码
    {
        Complex c=new Complex();
        Complex c1=new Complex(2,-6);
        Complex c2=new Complex(5,7);
        c.outputFu();
        c1.outputFu();
        c2.outputFu();
        c.addFu(c1,c2);
        c.minusFu(c1,c2);
        c.addFu(c2,c2);
    }
}